package com.java.day06.homework;

public class Demo01 {
    public static void main(String[] args) {
        Warrior warrior = new Warrior("zjt");
        System.out.println(warrior);
        warrior.strikeValiantly();
        warrior.unarmedAttack();
        System.out.println(warrior);
        warrior.strikeValiantly();
        warrior.unarmedAttack();
        warrior.strikeValiantly();
        warrior.unarmedAttack();

    }
}
